package com.shen.start;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

public class log4jDemo {

    private static final Logger LOGGER = LogManager.getLogger();

    public static void main(String[] args) {


        String username = "${java:vm}";

        LOGGER.info("hello,{}",  username);
    }
}
